package com.quyeying.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 点赞表
 * </p>
 *
 * @author jll
 * @since 2022-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_praise")
public class TblPraiseEntity extends Model<TblPraiseEntity> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 视频id
     */
    private Long videoId;


    @Override
    protected Serializable pkVal() {
        return this.userId;
    }

}
